package cn.tecnova.bean

/**
  * description:nlp数据源封装类
  **/
case class NlpJsonBean(
                      var site_id: String,
                      var uuid: String,
                      var site_url: String,
                      var site_name: String,
                      var main_id: String,
                      var site_cls: String,
                      var enterprise_scale_cls: String,
                      var customer_cls: String,
                      var media_cls: String,
                      var content_cls: String,
                      var important_leavel: String,
                      var industry_cls: String,
                      var language_cls: String,
                      var area_cls: String,
                      var site_province: String,
                      var site_city: String,
                      var site_district: String,
                      var article_url: String,
                      var gmt_create: String,
                      var article_html: String,
                      var code: String,
                      var article_like: String,
                      var article_channel: String,
                      var article_forword: String,
                      var template_source: String,
                      var domain: String,
                      var weight: String,
                      var schedule: String,
                      var article_source: String,
                      var article_view: String,
                      var article_reply: String,
                      var article_title: String,
                      var article_content: String,
                      var article_author: String,
                      var article_pubdate: String,
                      var nlp_emotion:String,
                      var topic_name:String
                    ) extends Product with Serializable {

  override def productElement(n: Int) = n match {
    case 0 => site_id
    case 1 => uuid
    case 2 => site_url
    case 3 => site_name
    case 4 => main_id
    case 5 => site_cls
    case 6 => enterprise_scale_cls
    case 7 => customer_cls
    case 8 => media_cls
    case 9 => content_cls
    case 10 => important_leavel
    case 11 => industry_cls
    case 12 => language_cls
    case 13 => area_cls
    case 14 => site_province
    case 15 => site_city
    case 16 => site_district
    case 17 => article_url
    case 18 => gmt_create
    case 19 => article_html
    case 20 => code
    case 21 => article_like
    case 22 => article_channel
    case 23 => article_forword
    case 24 => template_source
    case 25 => domain
    case 26 => weight
    case 27 => schedule
    case 28 => article_source
    case 29 => article_view
    case 30 => article_reply
    case 31 => article_title
    case 32 => article_content
    case 33 => article_author
    case 34 => article_pubdate
    case 35 => nlp_emotion
    case 36 => topic_name
  }

  override def productArity = 37

  override def canEqual(that: Any) = that.isInstanceOf[NlpJsonBean]


}
